package com.baymax.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baymax.entity.User;
import com.baymax.entity.dto.UserDTO;
import com.baymax.entity.vo.UserVO;

import java.util.List;

/**
 * 用户 服务
 *
 * @author baymax
 * @date 2023-03-17 14:49
 */
public interface UserService extends IService<User> {

    IPage<UserVO> pageUser(UserDTO userDTO, Page page);

    UserVO detail(Integer userId);

    Boolean addUserInfo(UserDTO userDTO);

    Boolean editUserInfo(UserDTO userDTO);

    Boolean delete(List<Integer> asList);

    Boolean revocation();
}
